inherited FValidacaoRequisicao: TFValidacaoRequisicao
  Left = 287
  Top = 139
  Caption = 'Valida'#231#227'o da Requisi'#231#227'o de Mercadoria'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    inherited TsPesquisa: TTabSheet
      inherited pnPesquisa: TPanel
        object lbSaldo: TLabel [0]
          Left = 8
          Top = 8
          Width = 4
          Height = 16
        end
      end
      inherited dbgPesquisaPadra: TDBGrid
        OnKeyDown = dbgPesquisaPadraKeyDown
        Columns = <
          item
            Expanded = False
            FieldName = 'REQ_CODIGO'
            Width = 50
            Visible = True
          end
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'REQ_DATA'
            Title.Caption = 'Data Req.'
            Width = 70
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REQ_SOLICITANTE_DESC'
            Title.Caption = 'Requisitante'
            Width = 214
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REQ_AUTORIZADA'
            Title.Alignment = taCenter
            Title.Caption = 'Aut.'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REQ_AUTORIZANTE_DESC'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REQ_NTALAO'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'REQ_ULTIMA_VALIDACAO'
            Title.Caption = 'Data Valida'#231#227'o'
            Visible = True
          end>
      end
      inherited pnPesquisaPadrao: TPanel
        object GroupBox2: TGroupBox
          Left = 690
          Top = 12
          Width = 147
          Height = 42
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object CheckBox1: TCheckBox
            Tag = 1
            Left = 1
            Top = 8
            Width = 145
            Height = 17
            Caption = 'N'#227'o Validadas'
            Color = clYellow
            ParentColor = False
            TabOrder = 0
            OnClick = CheckBox1Click
          end
          object CheckBox2: TCheckBox
            Tag = 1
            Left = 1
            Top = 24
            Width = 145
            Height = 17
            Caption = 'Validadas'
            Color = clLime
            ParentColor = False
            TabOrder = 1
            OnClick = CheckBox1Click
          end
        end
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        Width = 844
        object lb: TLabel [0]
          Left = 8
          Top = 38
          Width = 127
          Height = 16
          Caption = 'Data / Hora Valida'#231#227'o'
        end
        inherited panel2: TPanel
          Width = 842
          inherited BtnIncluir: TBitBtn
            Visible = False
          end
          inherited BtnEditar: TBitBtn
            Left = 4
          end
          inherited DBNavigator1: TDBNavigator
            Hints.Strings = ()
          end
          object BtnEmitir: TBitBtn
            Left = 310
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Emi&tir'
            TabOrder = 6
            OnClick = BtnEmitirClick
            Glyph.Data = {
              66010000424D6601000000000000760000002800000014000000140000000100
              040000000000F000000000000000000000001000000000000000000000000000
              8000008000000080800080000000800080008080000080808000C0C0C0000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
              DDDDDDDD0000DDDDDDDDDDDDDDDDDDDD0000DD000DDDDDDDDDD000DD0000D000
              000000000000000D0000D0F8888888888888880D0000D0F8888888888888880D
              0000D0F8888888822899880D0000D0FFFFFFFFFFFFFFFF0D0000D70077777777
              7777007D0000DDD00000000000000DDD0000DDD00FFFFFFFFFF00DDD0000DDDD
              0F00000000F0DDDD0000DDDD0FFFFFFFFFF0DDDD0000DDDD0F00000000F0DDDD
              0000DDDD0FFFFFFFFFF0DDDD0000DDDD0F00FFFFFFF0DDDD0000DDDD0FFFFFFF
              FFF0DDDD0000DDDD000000000000DDDD0000DDDDDDDDDDDDDDDDDDDD0000DDDD
              DDDDDDDDDDDDDDDD0000}
          end
        end
        inherited panel3: TPanel
          Width = 842
          object Label4: TLabel [3]
            Left = 8
            Top = 32
            Width = 209
            Height = 16
            Caption = 'Pressione F9 para modificar o Local'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = [fsItalic]
            ParentFont = False
          end
          object btnDevolucao: TBitBtn
            Left = 8
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Devolu'#231#227'o'
            TabOrder = 4
            OnClick = btnDevolucaoClick
            Glyph.Data = {
              76010000424D7601000000000000760000002800000020000000100000000100
              04000000000000010000120B0000120B00001000000000000000000000000000
              800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
              FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF003FFFFFFFFFFF
              FFFF33333333333FFFFF3FFFFFFFFF00000F333333333377777F33FFFFFFFF09
              990F33333333337F337F333FFFFFFF09990F33333333337F337F3333FFFFFF09
              990F33333333337FFF7F33333FFFFF00000F3333333333777773333333FFFFFF
              FFFF3333333333333F333333333FFFFF0FFF3333333333337FF333333333FFF0
              00FF33333333333777FF333333333F00000F33FFFFF33777777F300000333000
              0000377777F33777777730EEE033333000FF37F337F3333777F330EEE0333330
              00FF37F337F3333777F330EEE033333000FF37FFF7F333F77733300000333000
              03FF3777773337777333333333333333333F3333333333333333}
            NumGlyphs = 2
          end
        end
        object GroupBox1: TGroupBox
          Left = 8
          Top = 80
          Width = 825
          Height = 81
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 2
          object Label1: TLabel
            Left = 8
            Top = 16
            Width = 44
            Height = 16
            Caption = 'C'#243'digo:'
          end
          object Label2: TLabel
            Left = 8
            Top = 48
            Width = 31
            Height = 16
            Caption = 'Data:'
          end
          object Label3: TLabel
            Left = 136
            Top = 16
            Width = 76
            Height = 16
            Caption = 'Requisitante:'
          end
          object Label18: TLabel
            Left = 504
            Top = 48
            Width = 98
            Height = 16
            Caption = 'Centro de Custo:'
          end
          object Label5: TLabel
            Left = 136
            Top = 48
            Width = 109
            Height = 16
            Caption = 'Motivo Requisi'#231#227'o:'
          end
          object DBText1: TDBText
            Left = 56
            Top = 16
            Width = 41
            Height = 17
            Alignment = taRightJustify
            DataField = 'REQ_CODIGO'
            DataSource = dsCadastro
          end
          object DBText2: TDBText
            Left = 40
            Top = 48
            Width = 69
            Height = 17
            Alignment = taRightJustify
            DataField = 'REQ_DATA'
            DataSource = dsCadastro
          end
          object DBText3: TDBText
            Left = 216
            Top = 16
            Width = 278
            Height = 17
            DataField = 'REQ_SOLICITANTE_DESC'
            DataSource = dsCadastro
          end
          object DBText4: TDBText
            Left = 604
            Top = 48
            Width = 216
            Height = 17
            DataField = 'CENTROCUSTO_DESC'
            DataSource = dsCadastro
          end
          object DBText5: TDBText
            Left = 248
            Top = 48
            Width = 244
            Height = 17
            DataField = 'TIPOREQ_DESC'
            DataSource = dsCadastro
          end
          object Label7: TLabel
            Left = 504
            Top = 16
            Width = 70
            Height = 16
            Caption = 'Autorizante:'
          end
          object DBText6: TDBText
            Left = 576
            Top = 16
            Width = 243
            Height = 17
            DataField = 'REQ_AUTORIZANTE_DESC'
            DataSource = dsCadastro
          end
        end
        object dbgItens: TDBGrid
          Left = 8
          Top = 168
          Width = 825
          Height = 249
          Ctl3D = False
          DataSource = DsItensRequisicao
          ParentCtl3D = False
          TabOrder = 3
          TitleFont.Charset = ANSI_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -13
          TitleFont.Name = 'Arial'
          TitleFont.Style = []
          OnDrawColumnCell = dbgItensDrawColumnCell
          OnEnter = dbgItensEnter
          OnKeyDown = dbgItensKeyDown
          Columns = <
            item
              Expanded = False
              FieldName = 'ITENS_REQ_PRODCODIGO'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITENS_REQ_PROD_DESC'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'LOCAL_DESC'
              ReadOnly = True
              Title.Caption = 'Local'
              Width = 140
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ITENS_REQ_QUANTIDADE'
              ReadOnly = True
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ITENS_REQ_QTD_ATENDIDA'
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITENS_REQ_DATA_VALIDACAO'
              ReadOnly = True
              Visible = True
            end
            item
              Expanded = False
              FieldName = 'ITENS_REQ_SITUACAO'
              ReadOnly = True
              Title.Caption = 'S'
              Visible = True
            end>
        end
        object edDataValidacao: TDBDateEdit
          Left = 8
          Top = 56
          Width = 97
          Height = 21
          DataField = 'REQ_ULTIMA_VALIDACAO'
          DataSource = dsCadastro
          Ctl3D = False
          NumGlyphs = 2
          ParentCtl3D = False
          TabOrder = 4
        end
        object edHora: TDateTimePicker
          Left = 112
          Top = 56
          Width = 89
          Height = 21
          CalAlignment = dtaLeft
          Date = 39769.5717811343
          Time = 39769.5717811343
          DateFormat = dfLong
          DateMode = dmComboBox
          Kind = dtkTime
          ParseInput = False
          TabOrder = 5
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    inherited Excluir1: TMenuItem
      Visible = False
    end
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'SELECT '
      '  *'
      'FROM'
      '  REQUISICAO WHERE'
      '  ((EXCLUIDO <> '#39'S'#39') or (EXCLUIDO IS NULL))AND'
      '  REQ_AUTORIZADA = '#39'S'#39'  ')
    Left = 136
    Top = 328
  end
  inherited cdsCadastro: TClientDataSet
    OnReconcileError = cdsCadastroReconcileError
    object cdsCadastroREQ_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'REQ_CODIGO'
    end
    object cdsCadastroREQ_DATA: TDateTimeField
      DisplayLabel = 'Data'
      FieldName = 'REQ_DATA'
      DisplayFormat = 'dd/mm/yyyy'
    end
    object cdsCadastroREQ_SOLICITANTE: TIntegerField
      FieldName = 'REQ_SOLICITANTE'
    end
    object cdsCadastroREQ_SOLICITANTE_DESC: TStringField
      DisplayLabel = 'Solicitante'
      FieldName = 'REQ_SOLICITANTE_DESC'
      Size = 60
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      Size = 22
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      Size = 22
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      Size = 22
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroREQ_CENTROCUSTO: TIntegerField
      FieldName = 'REQ_CENTROCUSTO'
    end
    object cdsCadastroREQ_NTALAO: TStringField
      Alignment = taCenter
      DisplayLabel = 'N'#186' Tal'#227'o'
      FieldName = 'REQ_NTALAO'
      Size = 10
    end
    object cdsCadastroREQ_ORDEM_SERVICO: TStringField
      DisplayLabel = 'OS'
      FieldName = 'REQ_ORDEM_SERVICO'
      Size = 10
    end
    object cdsCadastroREQ_TIPO_REQUISICAO: TIntegerField
      FieldName = 'REQ_TIPO_REQUISICAO'
    end
    object cdsCadastroREQ_ULTIMA_VALIDACAO: TDateTimeField
      DisplayLabel = 'Data'
      FieldName = 'REQ_ULTIMA_VALIDACAO'
    end
    object cdsCadastroCENTROCUSTO_DESC: TStringField
      FieldKind = fkLookup
      FieldName = 'CENTROCUSTO_DESC'
      LookupDataSet = DMFinanceiro.QCentro
      LookupKeyFields = 'CODIGO'
      LookupResultField = 'DESCRICAO'
      KeyFields = 'REQ_CENTROCUSTO'
      Size = 40
      Lookup = True
    end
    object cdsCadastroTIPOREQ_DESC: TStringField
      FieldKind = fkLookup
      FieldName = 'TIPOREQ_DESC'
      LookupDataSet = DMGestao.QTipoRequisicao
      LookupKeyFields = 'TIPO_REQ_CODIGO'
      LookupResultField = 'TIPO_REQ_DESC'
      KeyFields = 'REQ_TIPO_REQUISICAO'
      Lookup = True
    end
    object cdsCadastroREQ_AUTORIZADA: TStringField
      Alignment = taCenter
      DisplayLabel = 'Alt.'
      FieldName = 'REQ_AUTORIZADA'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroREQ_DATA_AUTORIZACAO: TDateTimeField
      FieldName = 'REQ_DATA_AUTORIZACAO'
    end
    object cdsCadastroREQ_AUTORIZANTE: TIntegerField
      FieldName = 'REQ_AUTORIZANTE'
    end
    object cdsCadastroREQ_AUTORIZANTE_DESC: TStringField
      DisplayLabel = 'Autorizante'
      FieldName = 'REQ_AUTORIZANTE_DESC'
      Size = 40
    end
    object cdsCadastroREQ_CONF_VALIDACAO: TStringField
      FieldName = 'REQ_CONF_VALIDACAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroREQ_DATA_CONF_VALIDACAO: TDateTimeField
      FieldName = 'REQ_DATA_CONF_VALIDACAO'
    end
    object cdsCadastroREQ_VALIDADOR: TIntegerField
      FieldName = 'REQ_VALIDADOR'
    end
    object cdsCadastroREQ_VALIDADOR_DESC: TStringField
      FieldName = 'REQ_VALIDADOR_DESC'
      Size = 40
    end
    object cdsCadastroREQ_ATUALISOU_ESTOQUE: TStringField
      FieldName = 'REQ_ATUALISOU_ESTOQUE'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsCadastroREQ_EM_USO: TIntegerField
      FieldName = 'REQ_EM_USO'
    end
  end
  inherited dsCamposPesquisa: TDataSource
    Left = 360
    Top = 104
  end
  inherited OpenDialog1: TOpenDialog
    Left = 40
    Top = 136
  end
  object dsCentroCusto: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 784
    Top = 232
  end
  object dsTipoRequisicao: TDataSource
    DataSet = DMGestao.QTipoRequisicao
    Left = 536
    Top = 256
  end
  object DsItensRequisicao: TDataSource
    DataSet = CDSItensRequisicao
    Left = 464
    Top = 328
  end
  object DSPItensRequisicao: TDataSetProvider
    DataSet = QItensRequisicao
    Constraints = True
    Left = 360
    Top = 336
  end
  object CDSItensRequisicao: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'ITENS_REQ_REQCODIGO'
    MasterFields = 'REQ_CODIGO'
    MasterSource = dsCadastro
    PacketRecords = 0
    Params = <>
    ProviderName = 'DSPItensRequisicao'
    BeforePost = CDSItensRequisicaoBeforePost
    Left = 224
    Top = 336
    object CDSItensRequisicaoITENS_REQ_CODIGO: TIntegerField
      DisplayWidth = 6
      FieldName = 'ITENS_REQ_CODIGO'
    end
    object CDSItensRequisicaoITENS_REQ_REQCODIGO: TIntegerField
      FieldName = 'ITENS_REQ_REQCODIGO'
    end
    object CDSItensRequisicaoITENS_REQ_PRODCODIGO: TIntegerField
      DisplayLabel = 'C'#243'digo'
      DisplayWidth = 8
      FieldName = 'ITENS_REQ_PRODCODIGO'
    end
    object CDSItensRequisicaoITENS_REQ_PROD_DESC: TStringField
      DisplayLabel = 'Descri'#231#227'o'
      DisplayWidth = 45
      FieldName = 'ITENS_REQ_PROD_DESC'
      Size = 60
    end
    object CDSItensRequisicaoITENS_REQ_KIT_CODIGO: TIntegerField
      FieldName = 'ITENS_REQ_KIT_CODIGO'
    end
    object CDSItensRequisicaoUSUARIO_CADASTRO: TIntegerField
      FieldName = 'USUARIO_CADASTRO'
    end
    object CDSItensRequisicaoUSUARIO_AUTERACAO: TIntegerField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object CDSItensRequisicaoUSUARIO_EXCLUSAO: TIntegerField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object CDSItensRequisicaoDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object CDSItensRequisicaoDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object CDSItensRequisicaoDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object CDSItensRequisicaoEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object CDSItensRequisicaoCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object CDSItensRequisicaoITENS_REQ_SITUACAO: TStringField
      FieldName = 'ITENS_REQ_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object CDSItensRequisicaoITENS_REQ_VALIDACAO: TStringField
      FieldName = 'ITENS_REQ_VALIDACAO'
      FixedChar = True
      Size = 1
    end
    object CDSItensRequisicaoITENS_REQ_DATA_VALIDACAO: TDateTimeField
      DisplayLabel = 'Data Valida'#231#227'o'
      DisplayWidth = 12
      FieldName = 'ITENS_REQ_DATA_VALIDACAO'
      DisplayFormat = 'dd/mm/yy hh:mm'
    end
    object CDSItensRequisicaoITENS_REQ_LOCAL: TIntegerField
      DisplayLabel = 'Local'
      FieldName = 'ITENS_REQ_LOCAL'
    end
    object CDSItensRequisicaoLOCAL_DESC: TStringField
      FieldKind = fkLookup
      FieldName = 'LOCAL_DESC'
      LookupDataSet = DMGestao.QLocal
      LookupKeyFields = 'LOC_CODIGO'
      LookupResultField = 'LOC_DESCRICAO'
      KeyFields = 'ITENS_REQ_LOCAL'
      Size = 40
      Lookup = True
    end
    object CDSItensRequisicaoITENS_REQ_QUANTIDADE: TFloatField
      DisplayLabel = 'Quant.Req'
      FieldName = 'ITENS_REQ_QUANTIDADE'
      DisplayFormat = '#.###'
    end
    object CDSItensRequisicaoITENS_REQ_QTD_ATENDIDA: TFloatField
      DisplayLabel = 'Quant. Atend'
      FieldName = 'ITENS_REQ_QTD_ATENDIDA'
    end
    object CDSItensRequisicaoITENS_REQ_DATADEVOLUCAO: TFloatField
      FieldName = 'ITENS_REQ_DATADEVOLUCAO'
    end
    object CDSItensRequisicaoITENS_REQ_QTDDEVOLVIDA: TFloatField
      FieldName = 'ITENS_REQ_QTDDEVOLVIDA'
    end
  end
  object QItensRequisicao: TQuery
    DatabaseName = 'base'
    DataSource = dsCadastro
    SQL.Strings = (
      'SELECT '
      '  ITENSREQUISICAO.ITENS_REQ_CODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_REQCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PRODCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PROD_DESC,'
      '  ITENSREQUISICAO.ITENS_REQ_QUANTIDADE,'
      '  ITENSREQUISICAO.ITENS_REQ_KIT_CODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_LOCAL,'
      '  ITENSREQUISICAO.ITENS_REQ_SITUACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_VALIDACAO,'
      '  ITENSREQUISICAO.USUARIO_CADASTRO,'
      '  ITENSREQUISICAO.USUARIO_AUTERACAO,'
      '  ITENSREQUISICAO.USUARIO_EXCLUSAO,'
      '  ITENSREQUISICAO.DATA_CADASTRO,'
      '  ITENSREQUISICAO.DATA_AUTERACAO,'
      '  ITENSREQUISICAO.DATA_EXCLUSAO,'
      '  ITENSREQUISICAO.EXCLUIDO,'
      '  ITENSREQUISICAO.CODIGOEMPRESA,'
      '  ITENSREQUISICAO.ITENS_REQ_DATA_VALIDACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_QTD_ATENDIDA,'
      '  ITENSREQUISICAO.ITENS_REQ_DATADEVOLUCAO,'
      '  ITENSREQUISICAO.ITENS_REQ_QTDDEVOLVIDA'
      'FROM'
      '  ITENSREQUISICAO'
      'WHERE'
      '  ITENSREQUISICAO.ITENS_REQ_REQCODIGO = :REQ_CODIGO'
      '')
    Left = 256
    Top = 248
    ParamData = <
      item
        DataType = ftInteger
        Name = 'REQ_CODIGO'
        ParamType = ptUnknown
        Size = 4
      end>
  end
  object dsLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 568
    Top = 328
  end
  object DSTipoMovimentoEstoque: TDataSource
    DataSet = DMGestao.QTipoMovimentoEstoque
    Left = 744
    Top = 280
  end
  object QUsuario: TQuery
    Active = True
    BeforeInsert = QCadastroBeforeInsert
    BeforeEdit = QCadastroBeforeEdit
    BeforePost = QCadastroBeforePost
    BeforeCancel = QCadastroBeforeCancel
    BeforeDelete = QCadastroBeforeDelete
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM USUARIO')
    Left = 64
    Top = 352
  end
  object DSUsuario: TDataSource
    DataSet = QUsuario
    Left = 64
    Top = 400
  end
  object QAUX: TQuery
    DatabaseName = 'base'
    DataSource = dsCadastro
    SQL.Strings = (
      'SELECT '
      '  ITENSREQUISICAO.ITENS_REQ_CODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_REQCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PRODCODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_PROD_DESC,'
      '  ITENSREQUISICAO.ITENS_REQ_QUANTIDADE,'
      '  ITENSREQUISICAO.ITENS_REQ_KIT_CODIGO,'
      '  ITENSREQUISICAO.ITENS_REQ_LOCAL,'
      '  ITENSREQUISICAO.ITENS_REQ_SITUACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_VALIDACAO,'
      '  ITENSREQUISICAO.USUARIO_CADASTRO,'
      '  ITENSREQUISICAO.USUARIO_AUTERACAO,'
      '  ITENSREQUISICAO.USUARIO_EXCLUSAO,'
      '  ITENSREQUISICAO.DATA_CADASTRO,'
      '  ITENSREQUISICAO.DATA_AUTERACAO,'
      '  ITENSREQUISICAO.DATA_EXCLUSAO,'
      '  ITENSREQUISICAO.EXCLUIDO,'
      '  ITENSREQUISICAO.CODIGOEMPRESA,'
      '  ITENSREQUISICAO.ITENS_REQ_DATA_VALIDACAO,'
      '  ITENSREQUISICAO.ITENS_REQ_QTD_ATENDIDA,'
      '  ITENSREQUISICAO.ITENS_REQ_DATADEVOLUCAO,'
      '  ITENSREQUISICAO.ITENS_REQ_QTDDEVOLVIDA'
      'FROM'
      '  ITENSREQUISICAO'
      'WHERE'
      '  ITENSREQUISICAO.ITENS_REQ_REQCODIGO = :REQ_CODIGO'
      '')
    Left = 296
    Top = 376
    ParamData = <
      item
        DataType = ftInteger
        Name = 'REQ_CODIGO'
        ParamType = ptUnknown
        Size = 4
      end>
  end
end
